package com.easylinkin.linkappapi.lobar.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.lobar.dto.GateQueryDTO;
import com.easylinkin.linkappapi.lobar.entity.Gate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easylinkin.linkappapi.lobar.vo.GateRecordVo;
import com.easylinkin.linkappapi.openapi.dto.DatapushDTO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 闸机表 Mapper 接口
 * </p>
 *
 * @author TongJie
 * @since 2022-04-13
 */
public interface GateMapper extends BaseMapper<Gate> {


  IPage<Gate> queryListByPage(Page page, @Param("gate") Gate gate);

  IPage<GateRecordVo> selectGateRecords(Page page, @Param("query") GateQueryDTO dto);
}
